package com.algebra.active.service.impl;

import org.springframework.stereotype.Service;
import javax.annotation.Resource;
import com.algebra.active.mapper.NodeRoleRelMapper;
import com.algebra.active.domain.NodeRoleRel;
import com.algebra.active.service.NodeRoleRelService;
/**
  * @author al
  * @date 2020/6/11 11:13
  * @description 
  */
@Service
public class NodeRoleRelServiceImpl implements NodeRoleRelService{

    @Resource
    private NodeRoleRelMapper nodeRoleRelMapper;

    @Override
    public int deleteByPrimaryKey(Long id) {
        return nodeRoleRelMapper.deleteByPrimaryKey(id);
    }

    @Override
    public int insert(NodeRoleRel record) {
        return nodeRoleRelMapper.insert(record);
    }

    @Override
    public int insertSelective(NodeRoleRel record) {
        return nodeRoleRelMapper.insertSelective(record);
    }

    @Override
    public NodeRoleRel selectByPrimaryKey(Long id) {
        return nodeRoleRelMapper.selectByPrimaryKey(id);
    }

    @Override
    public int updateByPrimaryKeySelective(NodeRoleRel record) {
        return nodeRoleRelMapper.updateByPrimaryKeySelective(record);
    }

    @Override
    public int updateByPrimaryKey(NodeRoleRel record) {
        return nodeRoleRelMapper.updateByPrimaryKey(record);
    }

}
